package com.douhao.personal.mapper;

import com.douhao.personal.model.Role;

import java.util.List;
import java.util.Map;
import java.util.Set;

public interface RoleMapper {

    Set<String> findRoleByUserId(String id);

    List<Role> list(Map<String, Object> map);

    long count(Map<String, Object> map);

    int deleteByPrimaryKey(Long id);

    int insert(Role role);
}
